package flychess.rules.impl;

import flychess.entity.Player;
import flychess.rules.GameRule;

public class LandMineRule implements GameRule {
    @Override
    public int handleRule(Player player, Player rival, int position) {
        System.out.println("~:-(  踩到地雷，气死了...");
        position -= 6;
        return position;
    }
}
